package com.example.basicdemo.model.result;

import com.example.basicdemo.model.response.UpdateUserResponse;
import com.isyscore.os.dev.api.IsyscoreObject;
import com.isyscore.os.dev.api.IsyscoreResult;

import java.util.List;

public class UpdateUserResult implements IsyscoreResult<IsyscoreObject> {

    private UpdateUserResponse response;

    public UpdateUserResult(UpdateUserResponse response) {
        this.response = response;
    }

    public UpdateUserResponse getResponse() {
        return response;
    }

    public void setResponse(UpdateUserResponse response) {
        this.response = response;
    }

    @Override
    public boolean isSuccess() {
        return response == null ? false : response.isSuccess();
    }

    @Override
    public IsyscoreObject parseData() {
        return null;
    }

    @Override
    public List<IsyscoreObject> parseListData() {
        return null;
    }
}
